import 'package:flutter/material.dart';

class FindPage extends StatefulWidget {
  @override
  FindPageState createState() => FindPageState();
}

class FindPageState extends State<FindPage> {
  @override
  Widget build(BuildContext context) {
    return new ListView(
      children: <Widget>[
        new Container(
          color: Colors.grey[200],
          padding: EdgeInsets.only(top: 20.0),
          child: new Container(
            height: 50.0,
            color: Colors.white,
            child: new ListTile(
              leading: new Icon(Icons.camera, color: Colors.green),
              title: new Text("朋友圈"),
              onTap: () {},
            ),
          ),
        ),
        new Container(
          color: Colors.grey[200],
          padding: EdgeInsets.only(top: 20.0),
          child: new Container(
            height: 50.0,
            color: Colors.white,
            child: new ListTile(
              onTap: () {},
              leading: new Icon(Icons.crop_free, color: Colors.blue),
              title: new Text("扫一扫"),
            ),
          ),
        ),
        new Container(
          color: Colors.grey[200],
          padding: EdgeInsets.only(top: 20.0),
          child: new Container(
            height: 50.0,
            color: Colors.white,
            child: new ListTile(
              onTap: () {},
              leading: new Icon(Icons.star, color: Colors.yellow),
              title: new Text("看一看"),
            ),
          ),
        ),
        new Divider(
          height: 1.0,
        ),
        new Container(
          height: 50.0,
          color: Colors.white,
          child: new ListTile(
            onTap: () {},
            leading: new Icon(Icons.search, color: Colors.blue),
            title: new Text("搜一搜"),
          ),
        ),
        new Container(
          color: Colors.grey[200],
          padding: EdgeInsets.only(top: 20.0),
          child: new Container(
            height: 50.0,
            color: Colors.white,
            child: new ListTile(
              onTap: () {},
              leading: new Icon(Icons.people, color: Colors.blue),
              title: new Text("附近的人"),
            ),
          ),
        ),
        new Divider(
          height: 1.0,
        ),
        new Container(
          height: 50.0,
          color: Colors.white,
          child: new ListTile(
            onTap: () {},
            leading: new Icon(Icons.hourglass_empty, color: Colors.orange),
            title: new Text("漂流瓶"),
          ),
        ),
        new Container(
          color: Colors.grey[200],
          padding: EdgeInsets.only(top: 20.0),
          child: new Container(
            height: 50.0,
            color: Colors.white,
            child: new ListTile(
              onTap: () {},
              leading: new Icon(Icons.shopping_cart, color: Colors.pink),
              title: new Text("购物"),
            ),
          ),
        ),
        new Divider(
          height: 1.0,
        ),
        new Container(
          child: new ListTile(
            onTap: () {},
            leading: new Icon(Icons.games, color: Colors.blue),
            title: new Text("游戏"),
          ),
          color: Colors.white,
          height: 50.0,
        ),
        new Container(
          padding: const EdgeInsets.only(top: 20.0),
          child: new Container(
            child: new ListTile(
              onTap: () {},
              leading: new Icon(Icons.apps),
              title: new Text("小程序"),
            ),
            color: Colors.white,
            height: 50.0,
          ),
          color: Colors.grey[200],
        ),
      ],
    );
  }
}
